package com.youmingxing.utils;

import com.youmingxing.R;

/**
 * 字符串工具类.
 */
public class StatusUtil {

    /**
     * @description 海选状态 int to string
     * @version 1.0
     */
    public static String parseAuditionStatus(int status){

        switch (status) {
            case 0:
                return "进行中";
            case 1:
                return "结束结果确认中";
            case 2:
                return "结束进入海选";
            case 3:
                return "结束未进入海选";
        }
        return "";
    }
    /**
     * @description 实名认证状态 int to string(R.string.id)
     * @version 1.0
     */
    public static int parseCertificationStatus(int status){
        switch (status) {
            case 0:
                return (R.string.certification_no);
            case 1:
                return  R.string.certification_wait;
            case 2:
                return R.string.certification_notpass;
            case 3:
                return R.string.certification_pass;
        }
        return 0;
    }


}
